//
//  InputPayItemModel.h
//  BaseProject
//
//  Created by 王盼盼 on 2024/9/6.
//  Copyright © 2024 wangpanpan. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger, InputPayType) {
    InputPayTypeNone,
    InputPayTypeAlipay,
    InputPayTypeWeChatPay,
    InputPayTypeYunPay,
};
NS_ASSUME_NONNULL_BEGIN

@interface InputPayItemModel : NSObject
@property(nonatomic, copy) NSString *Id;
@property(nonatomic, copy) NSString *channel;
@property(nonatomic, copy) NSString *title;
@property(nonatomic, copy) NSString *localImagePath;
@property(nonatomic, assign) BOOL isSelect;
@property(nonatomic, copy) NSString *subTitle;

/// 分期
@property(nonatomic, assign) NSInteger periods;

/// 当前类型
@property(nonatomic, assign, readonly) InputPayType payType;
@property(nonatomic, assign) CGFloat amount;

/// 是否云闪付
@property(nonatomic, assign, readonly) BOOL hasPeriods;
@end

NS_ASSUME_NONNULL_END
